<?php
/**
 * Created by PhpStorm.
 * User: Mysic
 * Date: 2020/12/15
 * Time: 15:35
 */

namespace app\admin\service\fix;


class ReturnResult
{
    protected $status = true;
    protected $msg = 'success';

    public function setSuccess()
    {
        $this->status = true;
        return $this;
    }
    public function setFailure()
    {
        $this->status = false;
        return $this;
    }
    public function setMsg($msg)
    {
        $this->msg = $msg;
        return $this;
    }
    public function getStatus()
    {
        return $this->status;
    }
    public function getMsg()
    {
        return $this->msg;
    }
}